# -*- coding:utf-8 -*-

"""
该类提供所需要的正则表达式
"""
import re

class Regex():
    TITLE = re.compile(r'title=".*">(.*?)</a>')
    TIME = re.compile(r'<a href="(.*?)".*>')
    AUTHOR = re.compile(r'<p class="pl">(.*?)</p>')
    LENGTH = re.compile(r'<span aria-label="(.*?)" class="style-scope ytd-thumbnail-overlay-time-status-renderer"')
    PLAY_COUNT = re.compile(r'<span class="style-scope ytd-grid-video-renderer">(.*?)</span>')